package com.financial.business.integral.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author WANGNING
 * @Email wyn20140226@aliyun.com
 * @Description //积分请求相关地址配置
 * @Date 2019/12/13 16:57
 */
@Configuration
public class UrlConfig {

    /**
     * 优店积分预支付
     */
    public static String INTEGRAL_YD_PREPAY_URL;
    @Value("${url.integral_yd_prepay_url}")
    public  void setIntegralYDPrepayUrl(String integralYDPrepayUrl) {
        INTEGRAL_YD_PREPAY_URL = integralYDPrepayUrl;
    }

    /**
     * 优店积分支付查询
     */
    public static String INTEGRAL_YD_PAY_QUERY_URL;
    @Value("${url.integral_yd_pay_query_url}")
    public  void setIntegralYDPayQueryUrl(String integralYDPayQueryUrl) {
        INTEGRAL_YD_PAY_QUERY_URL = integralYDPayQueryUrl;
    }

    /**
     * 优店积分获取accessToken
     */
    public static String INTEGRAL_YD_ACCESSTOKEN_URL;
    @Value("${url.integral_yd_accesstoken_url}")
    public  void setIntegralYDAccessTokenUrl(String integralYDAccessTokenUrl) {
        INTEGRAL_YD_ACCESSTOKEN_URL = integralYDAccessTokenUrl;
    }

    /**
     * 优店积分代付
     */
    public static String INTEGRAL_YD_PAYMENT_URL;
    @Value("${url.integral_yd_payment_url}")
    public  void setIntegralYDPaymentUrl(String integralYDPaymentUrl) {
        INTEGRAL_YD_PAYMENT_URL = integralYDPaymentUrl;
    }

    /**
     * 优店积分代付查询
     */
    public static String INTEGRAL_YD_PAYMENT_QUERY_URL;
    @Value("${url.integral_yd_payment_query_url}")
    public  void setIntegralYDPaymentQueryUrl(String integralYDPaymentQueryUrl) {
        INTEGRAL_YD_PAYMENT_QUERY_URL = integralYDPaymentQueryUrl;
    }

    /**
     * 优店积分退款
     */
    public static String INTEGRAL_YD_REFUND_URL;
    @Value("${url.integral_yd_refund_url}")
    public  void setIntegralYDRefundUrl(String integralYDRefundUrl) {
        INTEGRAL_YD_REFUND_URL = integralYDRefundUrl;
    }

    /**
     * 优店积分退款查询
     */
    public static String INTEGRAL_YD_REFUND_QUERY_URL;
    @Value("${url.integral_yd_refund_query_url}")
    public  void setIntegraYDRefundQueryUrl(String integraYDRefundQueryUrl) {
        INTEGRAL_YD_REFUND_QUERY_URL = integraYDRefundQueryUrl;
    }


}
